home *** CD-ROM | disk | FTP | other *** search
- xMax = 6;
- yMax = 6;
- maxTileNr = 8;
- tilesToRow = 5;
- rndLoops = 10;
- tilesMax = xMax * yMax;
- startPosMax = 2 * xMax + 2 * yMax;
- rowsKilledBonus = 0;
- rowBonus = 150;
- minRowsKilled = 15;
- rowBonusFactor = rowBonus * minRowsKilled;
- criticalAmount = Math.round(tilesMax * 0.66);
- aBoard = new Array(tilesMax);
- aStartPos = new Array(startPosMax);
- aStartTilePos = [100,38,148,38,196,38,244,38,292,38,340,38,400,88,400,130,400,172,400,214,400,256,400,298,340,348,292,348,244,348,196,348,148,348,100,348,40,298,40,256,40,214,40,172,40,130,40,88];
- aLevelTimes = [0,25,21,18,15,12,10,8,7,6,5,5,5,4,4,4];
- initRndArray(rndLoops);
- clearBoard();
- time = 0;
- level = 0;
- preLevel = 1;
- score = 0;
- if(threshold == undefined)
- {
- threshold = 1000;
- }
- else
- {
- threshold = Number(threshold);
- }
- stop();
-